/**
 * 封装所有的实体类的DAO对象，项目特定的注入对象在这基础上自己添加
 * 
 * */
package cn.edu.scau.cmi.ema.service.base;

import javax.persistence.EntityManager;
import javax.persistence.PersistenceContext;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Controller;

import cn.edu.scau.cmi.ema.dao.*;
import cn.edu.scau.cmi.front.dao.CmiEventDAO;
import cn.edu.scau.cmi.front.dao.CmiFeaturestandardDAO;
import cn.edu.scau.cmi.front.dao.CmiPictureDAO;


@Controller("CmiService")
public class CmiService extends CmiProjectProperty{
	@PersistenceContext(unitName = "ema")
	protected EntityManager entityManager;
	
	@Autowired
	protected CmiEventDAO cmiEventDAO;

	@Autowired
	protected CmiPictureDAO cmiPictureDAO;
	
	@Autowired
	protected CmiFeaturestandardDAO cmiFeaturestandardDAO;
}
